/*  1:   */ package nl.siegmann.epublib.bookprocessor;
/*  2:   */ 
/*  3:   */ import java.util.List;
/*  4:   */ import nl.siegmann.epublib.domain.Book;
/*  5:   */ import nl.siegmann.epublib.domain.Identifier;
/*  6:   */ import nl.siegmann.epublib.domain.Metadata;
/*  7:   */ import nl.siegmann.epublib.epub.BookProcessor;
/*  8:   */ 
/*  9:   */ public class FixIdentifierBookProcessor
/* 10:   */   implements BookProcessor
/* 11:   */ {
/* 12:   */   public Book processBook(Book book)
/* 13:   */   {
/* 14:17 */     if (book.getMetadata().getIdentifiers().isEmpty()) {
/* 15:18 */       book.getMetadata().addIdentifier(new Identifier());
/* 16:   */     }
/* 17:20 */     return book;
/* 18:   */   }
/* 19:   */ }


/* Location:           C:\Users\David\workspace\CosaRaraPorqueSi\main\epublib-tools-3.1.jar
 * Qualified Name:     nl.siegmann.epublib.bookprocessor.FixIdentifierBookProcessor
 * JD-Core Version:    0.7.0.1
 */